<?php 
$this->renderToPlaceholder('functions.phtml', 'sidebar');

$this->placeholder('sidebar')->append(
'<h2 class="title">Filtrar</h2>
<div class="paginatorFilters">
<form>
	<label>Resultados por página</label>
	'.$this->filterNumRows().'
	<br />
	<br />
	
	<a rel="nofollow, noindex" class="button redButton" id="Aplicar" name="Aplicar" href="#"><span>Aplicar</span></a>
	
</form>
</div>'

);

echo '<h2 class="title">Preguntas</h2>';

echo $this->render('questions/questions.phtml');

$this->jQuery()->onLoadCaptureStart();
?>

$paginatorOrders = { 
	1: "questionId",
	2: "name",
	3: "status",
	4: "categoryId",
	5: "startDate",
	6: "endDate",
	7: "cityId",
	8: "reasonFamilyId"
};
	
bindPaginate( "<?php echo $this->url(array('controller'=>'questions'))?>" );
				
<?php $this->jQuery()->onLoadCaptureEnd();?>